package com.zzj.model.dto.article;

import lombok.Data;


import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;

@Data
public class ArticleUpdateDTO {
    @NotNull(message = "请输入ID")
    private int id;
    @NotEmpty(message = "请输入分类")
    private String type;
    @NotEmpty(message = "请输入标题")
    private String title;
    @NotEmpty(message = "请输入内容")
    private String content;
    @NotEmpty(message = "请输入封面")
    private String coverImage;


}
